package cn.edu.ujn.lab3.service;

import java.util.List;

import cn.edu.ujn.lab3.dao.Project;

import cn.edu.ujn.lab3.utils.Page;

public interface IProjectService {
	int deleteByPrimaryKey(Integer projectId);

	int insert(Project row);

	int insertSelective(Project row);

	Project selectByPrimaryKey(Integer projectId);

	List<Project> selectProjectsWithUser(Integer id);
	
	int selectProjectCount();

	List<Project> selectProjectList(Project row);

	Page<Project> findProjectList(Integer page, Integer rows, Integer prodect_id, Integer user_id,
			Integer project_commission, String project_version, Integer project_state);

	int updateByPrimaryKeySelective(Project row);

	int updateByPrimaryKey(Project row);
}
